package com.example.email.service;

/**
 * @author kangshuai
 */
public interface EmailService {

    /**
     * 发送邮件
     * @param email
     * @param code
     * @return
     */
    boolean sendEmail(String email, String code);
}
